package com.lxw;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EntityScan("com.lxw.framework.domain")//扫描实体类
@ComponentScan(basePackages = {"com.lxw"})
public class MediaMqApp {
    public static void main(String[] args) {
        SpringApplication.run(MediaMqApp.class,args);
    }
}
